70ab9e1328a97751bf15d59febc4bd34f321c56e,src/com/bfh/logisim/fpgagui/FPGACommanderGui.java,FPGACommanderGui,selectToolPath,#,1158
Before Change
private void selectToolPath() {
String ToolPath;
if (MyBoardInformation.fpga.getVendor() == FPGAClass.VendorAltera) {
ToolPath = MySettings.GetAlteraToolPath();
} else {
ToolPath = MySettings.GetXilixToolPath();
After Change
}
private void selectToolPath() {
String ToolPath = Settings.vendors.get(MyBoardInformation.fpga.getVendor()).getToolPath();
JFileChooser fc = new JFileChooser(ToolPath);
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
File test = new File(ToolPath);